public static class MyTools
{
    public static float To2F(this float f)
    {
        return (float)System.Math.Round((double)f,2);
    }
}
